package com.yhtx.easy.result;

/**
 * 定义成功类型
 * @Author ZhuoXiaoYa
 * @Date 2025/5/15
 **/
public class SuccessResponse<T> extends Response<T> {

    public SuccessResponse() {
        super(Boolean.TRUE, "200", "请求成功", null);
    }

    public SuccessResponse(T data) {
        super(Boolean.TRUE, "200", "请求成功", data);
    }

    public SuccessResponse(String code, String message, T data) {
        super(Boolean.TRUE, code, message, data);
    }
}
